# The Hazard Library
# Copyright (C) 2025 GEM Foundation
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


import numpy as np

trace = np.array([[99.56294005, 36.55998203],
                  [99.56198681, 36.56002486],
                  [99.56103076, 36.56010237],
                  [99.56007429, 36.56021408],
                  [99.55911981, 36.56035953],
                  [99.55816973, 36.56053825],
                  [99.55722643, 36.56074975],
                  [99.55629233, 36.56099356],
                  [99.55536982, 36.56126922],
                  [99.55446131, 36.56157625],
                  [99.5535692 , 36.56191417],
                  [99.55269589, 36.56228252],
                  [99.55184378, 36.56268083],
                  [99.55101528, 36.56310861],
                  [99.55021278, 36.5635654 ],
                  [99.5494387 , 36.56405073],
                  [99.54869543, 36.56456412],
                  [99.54798537, 36.56510511],
                  [99.54731094, 36.56567321],
                  [99.54667452, 36.56626796],
                  [99.5460785 , 36.56688887],
                  [99.54552227, 36.56753412],
                  [99.54499954, 36.56819937],
                  [99.54450345, 36.56887998],
                  [99.54402711, 36.56957133],
                  [99.54356364, 36.57026879],
                  [99.54310614, 36.57096773],
                  [99.54264774, 36.57166354],
                  [99.54218155, 36.57235158],
                  [99.54170069, 36.57302722],
                  [99.54119826, 36.57368584],
                  [99.54066739, 36.57432281],
                  [99.54010119, 36.57493351],
                  [99.53949277, 36.5755133 ],
                  [99.53883738, 36.57605907],
                  [99.53813897, 36.57657392],
                  [99.53740379, 36.57706256],
                  [99.53663804, 36.5775297 ],
                  [99.53584795, 36.57798004],
                  [99.53503974, 36.5784183 ],
                  [99.53421963, 36.57884917],
                  [99.53339385, 36.57927736],
                  [99.53256862, 36.57970758],
                  [99.53175016, 36.58014455],
                  [99.53094469, 36.58059296],
                  [99.53015843, 36.58105752],
                  [99.52939621, 36.58154187],
                  [99.52865603, 36.58204438],
                  [99.52793381, 36.58256183],
                  [99.52722546, 36.58309099],
                  [99.5265269 , 36.58362862],
                  [99.52583404, 36.58417151],
                  [99.5251428 , 36.58471641],
                  [99.5244491 , 36.5852601 ],
                  [99.52375023, 36.5858004 ],
                  [99.5230473 , 36.58633797],
                  [99.52234209, 36.586874  ],
                  [99.52163634, 36.58740967],
                  [99.52093183, 36.58794614],
                  [99.52023033, 36.5884846 ],
                  [99.51953359, 36.58902622],
                  [99.51884339, 36.58957216],
                  [99.51816148, 36.59012362],
                  [99.51748964, 36.59068176],
                  [99.51682963, 36.59124776],
                  [99.51618321, 36.59182279],
                  [99.51555214, 36.59240803],
                  [99.51493728, 36.59300403],
                  [99.51433802, 36.59361033],
                  [99.51375359, 36.59422639],
                  [99.51318323, 36.59485165],
                  [99.51262617, 36.59548556],
                  [99.51208167, 36.59612756],
                  [99.51154895, 36.59677711],
                  [99.51102726, 36.59743364],
                  [99.51051583, 36.5980966 ],
                  [99.51001389, 36.59876545],
                  [99.5095207 , 36.59943962],
                  [99.50903548, 36.60011857],
                  [99.50855748, 36.60080174],
                  [99.50808593, 36.60148858],
                  [99.50762006, 36.60217853],
                  [99.50715913, 36.60287105],
                  [99.50670237, 36.60356557],
                  [99.506249  , 36.60426154],
                  [99.50579829, 36.60495842],
                  [99.50534943, 36.60565571],
                  [99.50490166, 36.60635296],
                  [99.50445417, 36.6070497 ],
                  [99.50400619, 36.60774551],
                  [99.50355692, 36.60843991],
                  [99.50310559, 36.60913246],
                  [99.50265139, 36.6098227 ],
                  [99.50219355, 36.6105102 ],
                  [99.50173127, 36.61119448],
                  [99.50126378, 36.6118751 ],
                  [99.50079027, 36.61255162],
                  [99.50030997, 36.61322357],
                  [99.49982208, 36.6138905 ],
                  [99.49932582, 36.61455197],
                  [99.4988204 , 36.61520751],
                  [99.49830504, 36.61585669],
                  [99.49777893, 36.6164991 ],
                  [99.49724128, 36.61713446],
                  [99.49669128, 36.6177625 ],
                  [99.49612811, 36.61838295],
                  [99.49555098, 36.61899552],
                  [99.49495907, 36.61959995],
                  [99.49435158, 36.62019596],
                  [99.4937277 , 36.62078327],
                  [99.49308663, 36.62136163],
                  [99.49242755, 36.62193074],
                  [99.49174967, 36.62249033],
                  [99.49105217, 36.62304014],
                  [99.49033424, 36.62357989],
                  [99.48959509, 36.6241093 ],
                  [99.4888339 , 36.6246281 ],
                  [99.48804986, 36.62513601],
                  [99.48724218, 36.62563277],
                  [99.48641008, 36.62611811],
                  [99.48555525, 36.6265927 ],
                  [99.4846828 , 36.62705849],
                  [99.48379808, 36.62751753],
                  [99.48290646, 36.62797187],
                  [99.48201331, 36.62842357],
                  [99.481124  , 36.62887468],
                  [99.48024388, 36.62932725],
                  [99.47937834, 36.62978333],
                  [99.47853273, 36.63024498],
                  [99.47771241, 36.63071424],
                  [99.47692277, 36.63119318],
                  [99.47616915, 36.63168384],
                  [99.47545694, 36.63218828],
                  [99.47479149, 36.63270855],
                  [99.47417817, 36.63324671],
                  [99.47362235, 36.6338048 ],
                  [99.4731294 , 36.63438489],
                  [99.47270468, 36.63498902],
                  [99.47235356, 36.63561925],
                  [99.47207928, 36.63627691],
                  [99.47187666, 36.63696051],
                  [99.47173846, 36.63766786],
                  [99.47165743, 36.63839675],
                  [99.47162634, 36.639145  ],
                  [99.47163795, 36.63991042],
                  [99.471685  , 36.6406908 ],
                  [99.47176025, 36.64148396],
                  [99.47185647, 36.6422877 ],
                  [99.47196641, 36.64309982],
                  [99.47208281, 36.64391814],
                  [99.47219845, 36.64474046],
                  [99.47230607, 36.64556458],
                  [99.47239842, 36.64638831],
                  [99.47246827, 36.64720947],
                  [99.47250836, 36.64802584],
                  [99.47251145, 36.64883524],
                  [99.4724703 , 36.64963548],
                  [99.47237765, 36.65042437],
                  [99.47222765, 36.65120006],
                  [99.4720241 , 36.65196332],
                  [99.47177491, 36.65271596],
                  [99.47148802, 36.65345982],
                  [99.47117134, 36.65419673],
                  [99.47083281, 36.65492854],
                  [99.47048036, 36.65565706],
                  [99.47012191, 36.65638414],
                  [99.4697654 , 36.65711161],
                  [99.46941875, 36.65784131],
                  [99.46908989, 36.65857506],
                  [99.46878461, 36.6593142 ],
                  [99.46850282, 36.66005864],
                  [99.46824341, 36.66080806],
                  [99.46800529, 36.66156215],
                  [99.46778736, 36.66232059],
                  [99.46758853, 36.66308305],
                  [99.4674077 , 36.66384922],
                  [99.46724376, 36.66461878],
                  [99.46709563, 36.66539141],
                  [99.4669622 , 36.66616679],
                  [99.46684237, 36.6669446 ],
                  [99.46673506, 36.66772452],
                  [99.46663915, 36.66850624],
                  [99.46655355, 36.66928943],
                  [99.46647717, 36.67007378],
                  [99.4664089 , 36.67085896],
                  [99.46634766, 36.67164466],
                  [99.46629233, 36.67243055],
                  [99.46624182, 36.67321633],
                  [99.46619504, 36.67400166],
                  [99.46615088, 36.67478624],
                  [99.46610824, 36.67556974],
                  [99.46606604, 36.67635184],
                  [99.46602317, 36.67713222],
                  [99.46597852, 36.67791056],
                  [99.46593101, 36.67868655],
                  [99.46587954, 36.67945987],
                  [99.465823  , 36.68023019],
                  [99.4657603 , 36.6809972 ],
                  [99.46569033, 36.68176058],
                  [99.46561201, 36.68252   ]])
